#!/bin/bash
#创建通道
export FABRIC_CFG_PATH=${pwd}
# echo $FABRIC_CFG_PATH
mkdir tsdwt
if [[ $# -eq 1 ]]; then
	configtxgen -profile TwoOrgsChannel -outputCreateChannelTx ./config/$1.tx -channelID $1
	exit;
fi
echo '请输入通道名称'